package com.yq.ylmall.enums.product;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ProductCheck {

    NOT_CHECK(0, "未审核"),
    PASS(1, "通过"),
    FAILED(2, "未通过");

    @EnumValue
    @JsonValue
    private final Integer status;

    private final String desc;

}
